<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>csudma: xcsudma.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">csudma
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xcsudma_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xcsudma.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>The CSU_DMA is present inside CSU (Configuration Security Unit) module which is located within the Low-Power Subsystem (LPS) internal to the PS. </p>
<p>CSU_DMA allows the CSU to move data efficiently between the memory (32 bit AXI interface) and the CSU stream peripherals (SHA, AES and PCAP) via Secure Stream Switch (SSS).</p>
<p>The CSU_DMA is a 2 channel simple DMA, allowing separate control of the SRC (read) channel and DST (write) channel. The DMA is effectively able to transfer data:</p><ul>
<li>From PS-side to the SSS-side (SRC DMA only)</li>
<li>From SSS-side to the PS-side (DST DMA only)</li>
<li>Simultaneous PS-side to SSS_side and SSS-side to the PS-side</li>
</ul>
<p><b>Initialization &amp; Configuration</b></p>
<p>The device driver enables higher layer software (e.g., an application) to communicate to the CSU_DMA core.</p>
<p><a class="el" href="group__csudma__v1__0.html#ga64394cb7de1a6bc3e31fca2f4a5e59bb" title="This function initializes an CSU_DMA core. ">XCsuDma_CfgInitialize()</a> API is used to initialize the CSU_DMA core. The user needs to first call the <a class="el" href="group__csudma__v1__0.html#ga1335313d09e43a42b0c1d7276f3b7f67" title="XCsuDma_LookupConfig returns a reference to an XCsuDma_Config structure based on the unique device id...">XCsuDma_LookupConfig()</a> API which returns the Configuration structure pointer which is passed as a parameter to the <a class="el" href="group__csudma__v1__0.html#ga64394cb7de1a6bc3e31fca2f4a5e59bb" title="This function initializes an CSU_DMA core. ">XCsuDma_CfgInitialize()</a> API.</p>
<p><b> Interrupts </b> This driver will not support handling of interrupts user should write handler to handle the interrupts.</p>
<p><b> Virtual Memory </b></p>
<p>This driver supports Virtual Memory. The RTOS is responsible for calculating the correct device base address in Virtual Memory space.</p>
<p><b> Threads </b></p>
<p>This driver is not thread safe. Any needs for threads or thread mutual exclusion must be satisfied by the layer above this driver.</p>
<p><b> Asserts </b></p>
<p>Asserts are used within all Xilinx drivers to enforce constraints on argument values. Asserts can be turned off on a system-wide basis by defining, at compile time, the NDEBUG identifier. By default, asserts are turned on and it is recommended that users leave asserts on during development.</p>
<p><b> Building the driver </b></p>
<p>The <a class="el" href="struct_x_csu_dma.html" title="The XCsuDma driver instance data structure. ">XCsuDma</a> driver is composed of several source files. This allows the user to build and link only those parts of the driver that are necessary. </p>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_csu_dma___config.html">XCsuDma_Config</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains configuration information for a CSU_DMA core.  <a href="struct_x_csu_dma___config.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_csu_dma.html">XCsuDma</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="struct_x_csu_dma.html" title="The XCsuDma driver instance data structure. ">XCsuDma</a> driver instance data structure.  <a href="struct_x_csu_dma.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_csu_dma___configure.html">XCsuDma_Configure</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains all the configuration feilds which needs to be set before the start of the data transfer.  <a href="struct_x_csu_dma___configure.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga8ee71e015a72b9441ead3a0f5541777c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#ga8ee71e015a72b9441ead3a0f5541777c">XCSUDMA_H_</a></td></tr>
<tr class="memdesc:ga8ee71e015a72b9441ead3a0f5541777c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent circular inclusions by using protection macros.  <a href="group__csudma__v1__0.html#ga8ee71e015a72b9441ead3a0f5541777c">More...</a><br /></td></tr>
<tr class="separator:ga8ee71e015a72b9441ead3a0f5541777c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4fd22ed9ee5ff0eae03ee717112b7087"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#ga4fd22ed9ee5ff0eae03ee717112b7087">XCsuDma_Reset</a>()</td></tr>
<tr class="memdesc:ga4fd22ed9ee5ff0eae03ee717112b7087"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets the CSU_DMA core.  <a href="group__csudma__v1__0.html#ga4fd22ed9ee5ff0eae03ee717112b7087">More...</a><br /></td></tr>
<tr class="separator:ga4fd22ed9ee5ff0eae03ee717112b7087"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga97adf45a00577175416617745ddae9b8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#ga97adf45a00577175416617745ddae9b8">XCsuDma_WaitForDone</a>(InstancePtr,  Channel)</td></tr>
<tr class="memdesc:ga97adf45a00577175416617745ddae9b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will be in busy while loop until the data transfer is completed.  <a href="group__csudma__v1__0.html#ga97adf45a00577175416617745ddae9b8">More...</a><br /></td></tr>
<tr class="separator:ga97adf45a00577175416617745ddae9b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadf6f5fdbd1556eecafa2ecf802b88e73"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#gadf6f5fdbd1556eecafa2ecf802b88e73">XCsuDma_GetDoneCount</a>(InstancePtr,  Channel)</td></tr>
<tr class="memdesc:gadf6f5fdbd1556eecafa2ecf802b88e73"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the number of completed SRC/DST DMA transfers that have not been acknowledged by software based on the channel selection.  <a href="group__csudma__v1__0.html#gadf6f5fdbd1556eecafa2ecf802b88e73">More...</a><br /></td></tr>
<tr class="separator:gadf6f5fdbd1556eecafa2ecf802b88e73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga055148e26de969504f6b826af3fe9279"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#ga055148e26de969504f6b826af3fe9279">XCsuDma_GetFIFOLevel</a>(InstancePtr,  Channel)</td></tr>
<tr class="memdesc:ga055148e26de969504f6b826af3fe9279"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the current SRC/DST FIFO level in 32 bit words of the selected channel.  <a href="group__csudma__v1__0.html#ga055148e26de969504f6b826af3fe9279">More...</a><br /></td></tr>
<tr class="separator:ga055148e26de969504f6b826af3fe9279"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8b3c3d44a05b300dd2b60a1f15bc9a60"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#ga8b3c3d44a05b300dd2b60a1f15bc9a60">XCsuDma_GetWROutstandCount</a>(InstancePtr,  Channel)</td></tr>
<tr class="memdesc:ga8b3c3d44a05b300dd2b60a1f15bc9a60"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the current number of read(src)/write(dst) outstanding commands based on the type of channel selected.  <a href="group__csudma__v1__0.html#ga8b3c3d44a05b300dd2b60a1f15bc9a60">More...</a><br /></td></tr>
<tr class="separator:ga8b3c3d44a05b300dd2b60a1f15bc9a60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf15d6d8d487734165214850984ac00f2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#gaf15d6d8d487734165214850984ac00f2">XCsuDma_IsBusy</a>(InstancePtr,  Channel)</td></tr>
<tr class="memdesc:gaf15d6d8d487734165214850984ac00f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the status of Channel either it is busy or not.  <a href="group__csudma__v1__0.html#gaf15d6d8d487734165214850984ac00f2">More...</a><br /></td></tr>
<tr class="separator:gaf15d6d8d487734165214850984ac00f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Ranges of Size</div></td></tr>
<tr class="memitem:gab57550413ed1c53f70a33ad4b90965eb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#gab57550413ed1c53f70a33ad4b90965eb">XCSUDMA_SIZE_MAX</a>&#160;&#160;&#160;0x07FFFFFF</td></tr>
<tr class="memdesc:gab57550413ed1c53f70a33ad4b90965eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum allowed no of words.  <a href="group__csudma__v1__0.html#gab57550413ed1c53f70a33ad4b90965eb">More...</a><br /></td></tr>
<tr class="separator:gab57550413ed1c53f70a33ad4b90965eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">CSU_DMA Channels</div></td></tr>
<tr class="memitem:ga46008337fdd632f2650b8727c305eba5"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#ga46008337fdd632f2650b8727c305eba5">XCsuDma_Channel</a> { <a class="el" href="group__csudma__v1__0.html#gga46008337fdd632f2650b8727c305eba5afe0a7c4c64751afddad37c4a15a00e0d">XCSUDMA_SRC_CHANNEL</a> = 0U, 
<a class="el" href="group__csudma__v1__0.html#gga46008337fdd632f2650b8727c305eba5a08d300b013b7169bd1475fdf04737fe4">XCSUDMA_DST_CHANNEL</a>
 }</td></tr>
<tr class="separator:ga46008337fdd632f2650b8727c305eba5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">CSU_DMA pause types</div></td></tr>
<tr class="memitem:gad5ce08d197288cbdfb06941f1d46df87"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#gad5ce08d197288cbdfb06941f1d46df87">XCsuDma_PauseType</a> { <a class="el" href="group__csudma__v1__0.html#ggad5ce08d197288cbdfb06941f1d46df87a4848b0d503f02b0b03be6cd1a14ef6a8">XCSUDMA_PAUSE_MEMORY</a>, 
<a class="el" href="group__csudma__v1__0.html#ggad5ce08d197288cbdfb06941f1d46df87a67086fbe749ed37f5928c211ee6aa5b8">XCSUDMA_PAUSE_STREAM</a>
 }</td></tr>
<tr class="separator:gad5ce08d197288cbdfb06941f1d46df87"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga1335313d09e43a42b0c1d7276f3b7f67"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_csu_dma___config.html">XCsuDma_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#ga1335313d09e43a42b0c1d7276f3b7f67">XCsuDma_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="memdesc:ga1335313d09e43a42b0c1d7276f3b7f67"><td class="mdescLeft">&#160;</td><td class="mdescRight">XCsuDma_LookupConfig returns a reference to an <a class="el" href="struct_x_csu_dma___config.html" title="This typedef contains configuration information for a CSU_DMA core. ">XCsuDma_Config</a> structure based on the unique device id, <em>DeviceId</em>.  <a href="group__csudma__v1__0.html#ga1335313d09e43a42b0c1d7276f3b7f67">More...</a><br /></td></tr>
<tr class="separator:ga1335313d09e43a42b0c1d7276f3b7f67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga64394cb7de1a6bc3e31fca2f4a5e59bb"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#ga64394cb7de1a6bc3e31fca2f4a5e59bb">XCsuDma_CfgInitialize</a> (<a class="el" href="struct_x_csu_dma.html">XCsuDma</a> *InstancePtr, <a class="el" href="struct_x_csu_dma___config.html">XCsuDma_Config</a> *CfgPtr, u32 EffectiveAddr)</td></tr>
<tr class="memdesc:ga64394cb7de1a6bc3e31fca2f4a5e59bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes an CSU_DMA core.  <a href="group__csudma__v1__0.html#ga64394cb7de1a6bc3e31fca2f4a5e59bb">More...</a><br /></td></tr>
<tr class="separator:ga64394cb7de1a6bc3e31fca2f4a5e59bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gace70d2b6c66ded008944dfd456c1bf5c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#gace70d2b6c66ded008944dfd456c1bf5c">XCsuDma_Transfer</a> (<a class="el" href="struct_x_csu_dma.html">XCsuDma</a> *InstancePtr, <a class="el" href="group__csudma__v1__0.html#ga46008337fdd632f2650b8727c305eba5">XCsuDma_Channel</a> Channel, UINTPTR Addr, u32 Size, u8 EnDataLast)</td></tr>
<tr class="memdesc:gace70d2b6c66ded008944dfd456c1bf5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the starting address and amount(size) of the data to be transfered from/to the memory through the AXI interface.  <a href="group__csudma__v1__0.html#gace70d2b6c66ded008944dfd456c1bf5c">More...</a><br /></td></tr>
<tr class="separator:gace70d2b6c66ded008944dfd456c1bf5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga25049be545d8ec6eae2426b6248a8e4f"><td class="memItemLeft" align="right" valign="top">u64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#ga25049be545d8ec6eae2426b6248a8e4f">XCsuDma_GetAddr</a> (<a class="el" href="struct_x_csu_dma.html">XCsuDma</a> *InstancePtr, <a class="el" href="group__csudma__v1__0.html#ga46008337fdd632f2650b8727c305eba5">XCsuDma_Channel</a> Channel)</td></tr>
<tr class="memdesc:ga25049be545d8ec6eae2426b6248a8e4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the current address location of the memory, from where it has to read the data(SRC) or the location where it has to write the data (DST) based on the channel selection.  <a href="group__csudma__v1__0.html#ga25049be545d8ec6eae2426b6248a8e4f">More...</a><br /></td></tr>
<tr class="separator:ga25049be545d8ec6eae2426b6248a8e4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad5fd579fb9c166e59ee1f9d3b39250c7"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#gad5fd579fb9c166e59ee1f9d3b39250c7">XCsuDma_GetSize</a> (<a class="el" href="struct_x_csu_dma.html">XCsuDma</a> *InstancePtr, <a class="el" href="group__csudma__v1__0.html#ga46008337fdd632f2650b8727c305eba5">XCsuDma_Channel</a> Channel)</td></tr>
<tr class="memdesc:gad5fd579fb9c166e59ee1f9d3b39250c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the size of the data yet to be transfered from memory to CSU_DMA or CSU_DMA to memory based on the channel selection.  <a href="group__csudma__v1__0.html#gad5fd579fb9c166e59ee1f9d3b39250c7">More...</a><br /></td></tr>
<tr class="separator:gad5fd579fb9c166e59ee1f9d3b39250c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga00b5080126710866186d0bfafd26e9b6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#ga00b5080126710866186d0bfafd26e9b6">XCsuDma_Pause</a> (<a class="el" href="struct_x_csu_dma.html">XCsuDma</a> *InstancePtr, <a class="el" href="group__csudma__v1__0.html#ga46008337fdd632f2650b8727c305eba5">XCsuDma_Channel</a> Channel, <a class="el" href="group__csudma__v1__0.html#gad5ce08d197288cbdfb06941f1d46df87">XCsuDma_PauseType</a> Type)</td></tr>
<tr class="memdesc:ga00b5080126710866186d0bfafd26e9b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function pause the Channel data tranfer to/from memory or to/from stream based on pause type.  <a href="group__csudma__v1__0.html#ga00b5080126710866186d0bfafd26e9b6">More...</a><br /></td></tr>
<tr class="separator:ga00b5080126710866186d0bfafd26e9b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa3450f812658f927f289b997b12a4174"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#gaa3450f812658f927f289b997b12a4174">XCsuDma_IsPaused</a> (<a class="el" href="struct_x_csu_dma.html">XCsuDma</a> *InstancePtr, <a class="el" href="group__csudma__v1__0.html#ga46008337fdd632f2650b8727c305eba5">XCsuDma_Channel</a> Channel, <a class="el" href="group__csudma__v1__0.html#gad5ce08d197288cbdfb06941f1d46df87">XCsuDma_PauseType</a> Type)</td></tr>
<tr class="memdesc:gaa3450f812658f927f289b997b12a4174"><td class="mdescLeft">&#160;</td><td class="mdescRight">This functions checks whether Channel's memory or stream is paused or not based on the given pause type.  <a href="group__csudma__v1__0.html#gaa3450f812658f927f289b997b12a4174">More...</a><br /></td></tr>
<tr class="separator:gaa3450f812658f927f289b997b12a4174"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeee3f2d5bcf265b57c9f214f2bc15a28"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#gaeee3f2d5bcf265b57c9f214f2bc15a28">XCsuDma_Resume</a> (<a class="el" href="struct_x_csu_dma.html">XCsuDma</a> *InstancePtr, <a class="el" href="group__csudma__v1__0.html#ga46008337fdd632f2650b8727c305eba5">XCsuDma_Channel</a> Channel, <a class="el" href="group__csudma__v1__0.html#gad5ce08d197288cbdfb06941f1d46df87">XCsuDma_PauseType</a> Type)</td></tr>
<tr class="memdesc:gaeee3f2d5bcf265b57c9f214f2bc15a28"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resumes the channel if it is in paused state and continues where it has left or no effect if it is not in paused state, based on the type of pause.  <a href="group__csudma__v1__0.html#gaeee3f2d5bcf265b57c9f214f2bc15a28">More...</a><br /></td></tr>
<tr class="separator:gaeee3f2d5bcf265b57c9f214f2bc15a28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga17f1a7ba935f4bf3626050e0b0e0142b"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#ga17f1a7ba935f4bf3626050e0b0e0142b">XCsuDma_GetCheckSum</a> (<a class="el" href="struct_x_csu_dma.html">XCsuDma</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga17f1a7ba935f4bf3626050e0b0e0142b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the sum of all the data read from AXI memory.  <a href="group__csudma__v1__0.html#ga17f1a7ba935f4bf3626050e0b0e0142b">More...</a><br /></td></tr>
<tr class="separator:ga17f1a7ba935f4bf3626050e0b0e0142b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga78bdd79674e2b5c92b9701cacfde1fe1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#ga78bdd79674e2b5c92b9701cacfde1fe1">XCsuDma_ClearCheckSum</a> (<a class="el" href="struct_x_csu_dma.html">XCsuDma</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga78bdd79674e2b5c92b9701cacfde1fe1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function clears the check sum of the data read from AXI memory.  <a href="group__csudma__v1__0.html#ga78bdd79674e2b5c92b9701cacfde1fe1">More...</a><br /></td></tr>
<tr class="separator:ga78bdd79674e2b5c92b9701cacfde1fe1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac9b6265e467b03cc903cd66781e95e63"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#gac9b6265e467b03cc903cd66781e95e63">XCsuDma_SetConfig</a> (<a class="el" href="struct_x_csu_dma.html">XCsuDma</a> *InstancePtr, <a class="el" href="group__csudma__v1__0.html#ga46008337fdd632f2650b8727c305eba5">XCsuDma_Channel</a> Channel, <a class="el" href="struct_x_csu_dma___configure.html">XCsuDma_Configure</a> *ConfigurValues)</td></tr>
<tr class="memdesc:gac9b6265e467b03cc903cd66781e95e63"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function cofigures all the values of CSU_DMA's Channels with the values of updated <a class="el" href="struct_x_csu_dma___configure.html" title="This typedef contains all the configuration feilds which needs to be set before the start of the data...">XCsuDma_Configure</a> structure.  <a href="group__csudma__v1__0.html#gac9b6265e467b03cc903cd66781e95e63">More...</a><br /></td></tr>
<tr class="separator:gac9b6265e467b03cc903cd66781e95e63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaab0b66bca3f38d26d38ff47544fa6b11"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#gaab0b66bca3f38d26d38ff47544fa6b11">XCsuDma_GetConfig</a> (<a class="el" href="struct_x_csu_dma.html">XCsuDma</a> *InstancePtr, <a class="el" href="group__csudma__v1__0.html#ga46008337fdd632f2650b8727c305eba5">XCsuDma_Channel</a> Channel, <a class="el" href="struct_x_csu_dma___configure.html">XCsuDma_Configure</a> *ConfigurValues)</td></tr>
<tr class="memdesc:gaab0b66bca3f38d26d38ff47544fa6b11"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function updates <a class="el" href="struct_x_csu_dma___configure.html" title="This typedef contains all the configuration feilds which needs to be set before the start of the data...">XCsuDma_Configure</a> structure members with the cofigured values of CSU_DMA's Channel.  <a href="group__csudma__v1__0.html#gaab0b66bca3f38d26d38ff47544fa6b11">More...</a><br /></td></tr>
<tr class="separator:gaab0b66bca3f38d26d38ff47544fa6b11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6169fa380a4d55e41d7ab96589372e8f"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#ga6169fa380a4d55e41d7ab96589372e8f">XCsuDma_IntrGetStatus</a> (<a class="el" href="struct_x_csu_dma.html">XCsuDma</a> *InstancePtr, <a class="el" href="group__csudma__v1__0.html#ga46008337fdd632f2650b8727c305eba5">XCsuDma_Channel</a> Channel)</td></tr>
<tr class="memdesc:ga6169fa380a4d55e41d7ab96589372e8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns interrupt status read from Interrupt Status Register.  <a href="group__csudma__v1__0.html#ga6169fa380a4d55e41d7ab96589372e8f">More...</a><br /></td></tr>
<tr class="separator:ga6169fa380a4d55e41d7ab96589372e8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1db5eabd96920efb06fb03c919420601"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#ga1db5eabd96920efb06fb03c919420601">XCsuDma_IntrClear</a> (<a class="el" href="struct_x_csu_dma.html">XCsuDma</a> *InstancePtr, <a class="el" href="group__csudma__v1__0.html#ga46008337fdd632f2650b8727c305eba5">XCsuDma_Channel</a> Channel, u32 Mask)</td></tr>
<tr class="memdesc:ga1db5eabd96920efb06fb03c919420601"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function clears interrupt(s).  <a href="group__csudma__v1__0.html#ga1db5eabd96920efb06fb03c919420601">More...</a><br /></td></tr>
<tr class="separator:ga1db5eabd96920efb06fb03c919420601"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad892a65e65ac14f48f7d7f53020511cf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#gad892a65e65ac14f48f7d7f53020511cf">XCsuDma_EnableIntr</a> (<a class="el" href="struct_x_csu_dma.html">XCsuDma</a> *InstancePtr, <a class="el" href="group__csudma__v1__0.html#ga46008337fdd632f2650b8727c305eba5">XCsuDma_Channel</a> Channel, u32 Mask)</td></tr>
<tr class="memdesc:gad892a65e65ac14f48f7d7f53020511cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables the interrupt(s).  <a href="group__csudma__v1__0.html#gad892a65e65ac14f48f7d7f53020511cf">More...</a><br /></td></tr>
<tr class="separator:gad892a65e65ac14f48f7d7f53020511cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadf3599e4d07ef05586a217ebbbd02999"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#gadf3599e4d07ef05586a217ebbbd02999">XCsuDma_DisableIntr</a> (<a class="el" href="struct_x_csu_dma.html">XCsuDma</a> *InstancePtr, <a class="el" href="group__csudma__v1__0.html#ga46008337fdd632f2650b8727c305eba5">XCsuDma_Channel</a> Channel, u32 Mask)</td></tr>
<tr class="memdesc:gadf3599e4d07ef05586a217ebbbd02999"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disables the interrupt(s).  <a href="group__csudma__v1__0.html#gadf3599e4d07ef05586a217ebbbd02999">More...</a><br /></td></tr>
<tr class="separator:gadf3599e4d07ef05586a217ebbbd02999"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6ed420e8bfd9ab489a2d2c3e984ca7a2"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#ga6ed420e8bfd9ab489a2d2c3e984ca7a2">XCsuDma_GetIntrMask</a> (<a class="el" href="struct_x_csu_dma.html">XCsuDma</a> *InstancePtr, <a class="el" href="group__csudma__v1__0.html#ga46008337fdd632f2650b8727c305eba5">XCsuDma_Channel</a> Channel)</td></tr>
<tr class="memdesc:ga6ed420e8bfd9ab489a2d2c3e984ca7a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the interrupt mask to know which interrupts are enabled and which of them were disaled.  <a href="group__csudma__v1__0.html#ga6ed420e8bfd9ab489a2d2c3e984ca7a2">More...</a><br /></td></tr>
<tr class="separator:ga6ed420e8bfd9ab489a2d2c3e984ca7a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga774ab551d0ef59fd880ff834f2d83804"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csudma__v1__0.html#ga774ab551d0ef59fd880ff834f2d83804">XCsuDma_SelfTest</a> (<a class="el" href="struct_x_csu_dma.html">XCsuDma</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga774ab551d0ef59fd880ff834f2d83804"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function runs a self-test on the driver and hardware device.  <a href="group__csudma__v1__0.html#ga774ab551d0ef59fd880ff834f2d83804">More...</a><br /></td></tr>
<tr class="separator:ga774ab551d0ef59fd880ff834f2d83804"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
